//
//  jumpPageViewController.m
//  Lesson
//
//  Created by centling on 15/4/15.
//  Copyright (c) 2015年 Seas.CHENG. All rights reserved.
//

#import "jumpPageViewController.h"
#import "InputViewController.h"

@interface jumpPageViewController ()

@end

@implementation jumpPageViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

- (IBAction)backButtonClick:(id)sender {
    [self dismissViewControllerAnimated:YES completion:nil];
}

- (IBAction)delegateButtonClick:(id)sender {
    InputViewController *inputViewController=[self.storyboard instantiateViewControllerWithIdentifier:@"inputVC"];
    inputViewController.delegate=self;
    [self presentViewController:inputViewController animated:YES completion:nil];
    
}

- (IBAction)NaviButtonClick:(id)sender {
    UIStoryboard *storyboard=[UIStoryboard storyboardWithName:@"Navi" bundle:nil];
    UIViewController *jumpPageVC=[storyboard instantiateViewControllerWithIdentifier:@"navi"];
    [self presentViewController:jumpPageVC animated:YES completion:nil];
}


-(void)passValue:(NSString *)value{
    self.valueLabel.text=value;
}
@end
